projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
300ee85
)
(gametree-mode): Use make-local-variable, not make-variable-buffer-local.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 02:56:24 +0000
(
02:56
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 02:56:24 +0000
(
02:56
+0000)
lisp/play/gametree.el
patch
|
blob
|
history
diff --git
a/lisp/play/gametree.el
b/lisp/play/gametree.el
index b2e9fb9f971bbb88acf26e3a47cb070950cf2dff..9e80024c90b424670f80d5c8c03158bc8fc110fe 100644
(file)
--- a/
lisp/play/gametree.el
+++ b/
lisp/play/gametree.el
@@
-574,9
+574,9
@@
Useful to postal and email chess (and, it is hoped, also checkers, go,
shogi, etc.) players, it is a slightly modified version of Outline mode.
\\{gametree-mode-map}"
-(auto-fill-mode 0)
-
(make-variable-buffer-local
'write-contents-hooks)
-(add-hook 'write-contents-hooks 'gametree-save-and-hack-layout))
+
(auto-fill-mode 0)
+
(make-local-variable
'write-contents-hooks)
+
(add-hook 'write-contents-hooks 'gametree-save-and-hack-layout))
;;;; Key bindings